//
// Created by jsjxsy on 2022/9/6.
// typeof(c) == decltype(c++)
//

int main() {
  const int ci = 0, &cj = ci;
  decltype(ci) x = 0;// const int x = 0;
  decltype(cj) y = x;//const int &y = x;
  //decltype(cj) z;
  int i = 42, *p = &i, &r = i;
  decltype(i) e;//int e
  //decltype((i))d;// int &d
  decltype(((i))) d1 = i; //int &d1=i;
  return 0;
}